package com.pd.backend.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (PdAuthUser)实体类
 *
 * @author GuoXinChao.126@gmail.com
 * @since 2023-02-27 17:11:13
 */
public class PdAuthUser implements Serializable {
    private static final long serialVersionUID = -86260919949962401L;
    /**
     * ID
     */
    private Long id;
    /**
     * 账号
     */
    private String account;
    /**
     * 姓名
     */
    private String name;
    /**
     * 组织ID
     * #c_core_org
     */
    private Long orgId;
    /**
     * 岗位ID
     * #c_core_station
     */
    private Long stationId;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机
     */
    private String mobile;
    /**
     * 性别
     * #Sex{W:女;M:男;N:未知}
     */
    private String sex;
    /**
     * 启用状态 1启用 0禁用
     */
    private String status;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 工作描述
     * 比如：  市长、管理员、局长等等   用于登陆展示
     */
    private String workDescribe;
    /**
     * 最后一次输错密码时间
     */
    private Date passwordErrorLastTime;
    /**
     * 密码错误次数
     */
    private Integer passwordErrorNum;
    /**
     * 密码过期时间
     */
    private Date passwordExpireTime;
    /**
     * 密码
     */
    private String password;
    /**
     * 最后登录时间
     */
    private Date lastLoginTime;
    /**
     * 创建人id
     */
    private Long createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人id
     */
    private Long updateUser;
    /**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getWorkDescribe() {
        return workDescribe;
    }

    public void setWorkDescribe(String workDescribe) {
        this.workDescribe = workDescribe;
    }

    public Date getPasswordErrorLastTime() {
        return passwordErrorLastTime;
    }

    public void setPasswordErrorLastTime(Date passwordErrorLastTime) {
        this.passwordErrorLastTime = passwordErrorLastTime;
    }

    public Integer getPasswordErrorNum() {
        return passwordErrorNum;
    }

    public void setPasswordErrorNum(Integer passwordErrorNum) {
        this.passwordErrorNum = passwordErrorNum;
    }

    public Date getPasswordExpireTime() {
        return passwordExpireTime;
    }

    public void setPasswordExpireTime(Date passwordExpireTime) {
        this.passwordExpireTime = passwordExpireTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

